package com.zhu.service.edu.feign;

import com.zhu.commons.utils.R;
import com.zhu.service.edu.feign.fallback.MinioFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "minio-oss",fallback = MinioFallback.class)
public interface MinioFeignService {
    @PostMapping("/delete")
    public R delete(@RequestParam("fileName") String fileName);
}
